package jwxx.json;

import com.google.gson.annotations.Expose;

public class PlayerInfo extends GsonBase implements Cloneable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1353055480442194607L;

	
	public PlayerInfo()
	{
		//GsonBase rely on this func
		setJsonType(PlayerInfo.class.getName());
	}
	
	@Expose
	private int id;
	@Expose
	private String name;
	
	public int getPlayerDd() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
    //GsonBase rely on this func
	public static Object InitFromJson(String JsonString)
	{
		return InitFromJson(JsonString,PlayerInfo.class);	
	}
}